//
//  YKViewController.m
//  YKCaptcha
//
//  Created by zhangcong on 01/08/2021.
//  Copyright (c) 2021 zhangcong. All rights reserved.
//

#import "YKViewController.h"
//#import <YoKaCaptcha/YoKaCaptcha.h>
#import <YKCaptcha/YKCaptcha.h>

@interface YKViewController ()

@end

@implementation YKViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
    [YKCaptcha showWithType:puzzle successBlock:^(NSString *result) {
        NSLog(@"result = %@",result);
    }];
}

@end
